//
//  CountModel.m
//  DebugDemo
//
//  Created by XFB on 2019/5/7.
//  Copyright © 2019 ZhouCheng. All rights reserved.
//

#import "CountModel.h"

@implementation CountModel

- (NSInteger)getCurrentValue
{
    return [[NSUserDefaults standardUserDefaults] integerForKey:@"CountValueKey"];
}

- (void)setCurrentValue:(NSInteger)value
{
    [[NSUserDefaults standardUserDefaults] setInteger:value forKey:@"CountValueKey"];
    [[NSUserDefaults standardUserDefaults] synchronize];
}

@end
